package com.quanz.ckgl.services;

import java.io.Serializable;

import org.joda.time.DateTime;

/**
 * 库存信息
 * 
 * @author James Quan
 * @version 2015年10月4日 下午2:56:00
 */
public class Stock implements Serializable {
	private long id;
	private String productId;
	private String productName;
	private String vendor;
	private String phone;
	private String rackId;
	private String rackNote;
	private int layer;
	private int col;
	private int quantity;
	private DateTime receiveTime;

	public Stock() {
		super();
	}

	public Stock(Stock s) {
		super();
		this.id = s.getId();
		this.productId = s.getProductId();
		this.productName = s.getProductName();
		this.vendor = s.getVendor();
		this.phone = s.getPhone();
		this.rackId = s.getRackId();
		this.rackNote = s.getRackNote();
		this.layer = s.getLayer();
		this.col = s.getCol();
		this.quantity = s.getQuantity();
		this.receiveTime = s.getReceiveTime();
	}
	
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}
	
	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getVendor() {
		return vendor;
	}

	public void setVendor(String vendor) {
		this.vendor = vendor;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getRackId() {
		return rackId;
	}

	public void setRackId(String rackId) {
		this.rackId = rackId;
	}

	public String getRackNote() {
		return rackNote;
	}
	
	public void setRackNote(String rackName) {
		this.rackNote = rackName;
	}
	
	public int getLayer() {
		return layer;
	}

	public void setLayer(int layer) {
		this.layer = layer;
	}

	public int getCol() {
		return col;
	}

	public void setCol(int col) {
		this.col = col;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public DateTime getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(DateTime receiveTime) {
		this.receiveTime = receiveTime;
	}
}
